<style>
    .table .new,.notice{
        font-weight: bold;
        color:#D65824;
    }
</style>
<div style="text-align:center;font-size: 55px;margin: 47px 0;"><?php if(!empty($lists_contact)){ echo $this->lang->line('menu_listcustomers');}?></div>
<table class="table table-striped table-bordered dataTable" id="data-table" width="100%" aria-describedby="data-table_info" style="width: 100%;">
    <?php if(!empty($lists_contact)){?>
    <thead>
        <tr role="row">
            <th width="5%" class="sorting" role="columnheader" tabindex="0" aria-controls="data-table" rowspan="1" colspan="1" aria-label="STT" style="width: 50px;">STT</th>
            <th width="5%" class="sorting_desc" role="columnheader" tabindex="0" aria-controls="data-table" rowspan="1" colspan="1" aria-label="Username" style="width: 280px;"><?php echo $this->lang->line('name');?></th>
            <th width="5%" class="sorting_desc" role="columnheader" tabindex="0" aria-controls="data-table" rowspan="1" colspan="1" aria-label="Username" style="width: 280px;"><?php echo $this->lang->line('phone');?></th>
        </tr>
    </thead>
    <?php }?>
    <tbody role="alert" aria-live="polite" aria-relevant="all">
        <form id="ajaxform" action="">
        <?php
        if(!empty($lists_contact)){
            foreach($lists_contact AS $key => $value){
                if($key%2 == 0){
                    $old = 'new';
                } else {
                    $old = 'old';
                }
                $phone = implode("<br/>", unserialize($value->phone));
                echo '<tr class="'.$old.'">';
                echo '<td class="">'.++$key.'</td>';
                echo '<td class="">'.$value->id_prov.'</td>';
                echo '<td class="">'.$value->name.'</td>';
                echo '</tr>';
            }
            echo '<tr><td></td><td></td><td></td><td></td><td><input type="submit" value="'.$this->lang->line('continue').'" name="'.$this->lang->line('continue').'" /></td></tr>';
            echo '</form>';
        } else {
            echo '<tr>Không tìm thấy thông tin</tr>';
        }
        ?>
    </tbody>
</table>
